package com.example.system.domain.sysUser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class SysUserSaveDto {
    @Schema(description = "用户账号")
    @NotBlank(message = "⽤⼾账号不能为空")
    private String userAccount;



    @Schema(description = "用户密码")
    @NotBlank(message = "⽤⼾密码不能为空")
    @Size(min = 5, max = 10, message = "密码⻓度不能少于6位，不能⼤于10位")
    private String Password;

}
